from Page1 import Page1
from selenium.webdriver.common.by import By

class Page2(Page1):

    #点击收信
    shouxin_loc = (By.XPATH,'/html/body/div[1]/nav/div[1]/ul/li[1]/span[2]')
    # 点击收信 方法
    def shouxin(self):
        self.click(self.shouxin_loc)

    # #点击未读邮件
    # weidu_loc = (By.XPATH,'/html/body/div[2]/div[1]/div[7]/header/div/div[5]/div/span')
    # #点击未读邮件 方法
    # def weidu(self):
    #     self.click(self.weidu_loc)